package com.example.sunnyweather.logic.model

import com.google.gson.annotations.SerializedName

data class RealtimeResponse(val status:String,val result: Result){
    data class Result(val realtime:RealTime)

    data class RealTime(val skycon:String,val temperature:Float,
        @SerializedName("aqi_quality") val airQuality:AirQuality)

    //自己加一个pm2.5的
    data class AirQuality(val pm25:Float,val aqi:AQI)
    //国标AQI指数
    data class AQI(val chn:Float)
}
